Um, don't randomly subtract 4 from coordinates.
authorHavoc Pennington <hp@redhat.com>
Wed, 1 Nov 2000 16:24:21 +0000 (16:24 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Wed, 1 Nov 2000 16:24:21 +0000 (16:24 +0000)
2000-11-01  Havoc Pennington  <hp@redhat.com>

* gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
from coordinates.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkimage.c

index f955b1cfa9e76cd3827b9edfbf7fc0cfba8f8517..433258998fc0c11016ee14e000cd6c9a76dda9d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-01  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
+       from coordinates.
+
 Wed Oct 25 20:10:57 2000  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkevents.c (gdk_event_copy): Only ref the window if
index f955b1cfa9e76cd3827b9edfbf7fc0cfba8f8517..433258998fc0c11016ee14e000cd6c9a76dda9d3 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-01  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
+       from coordinates.
+
 Wed Oct 25 20:10:57 2000  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkevents.c (gdk_event_copy): Only ref the window if
index f955b1cfa9e76cd3827b9edfbf7fc0cfba8f8517..433258998fc0c11016ee14e000cd6c9a76dda9d3 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-01  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
+       from coordinates.
+
 Wed Oct 25 20:10:57 2000  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkevents.c (gdk_event_copy): Only ref the window if
index f955b1cfa9e76cd3827b9edfbf7fc0cfba8f8517..433258998fc0c11016ee14e000cd6c9a76dda9d3 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-01  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
+       from coordinates.
+
 Wed Oct 25 20:10:57 2000  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkevents.c (gdk_event_copy): Only ref the window if
index f955b1cfa9e76cd3827b9edfbf7fc0cfba8f8517..433258998fc0c11016ee14e000cd6c9a76dda9d3 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-01  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
+       from coordinates.
+
 Wed Oct 25 20:10:57 2000  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkevents.c (gdk_event_copy): Only ref the window if
index f955b1cfa9e76cd3827b9edfbf7fc0cfba8f8517..433258998fc0c11016ee14e000cd6c9a76dda9d3 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-01  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
+       from coordinates.
+
 Wed Oct 25 20:10:57 2000  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkevents.c (gdk_event_copy): Only ref the window if
index f955b1cfa9e76cd3827b9edfbf7fc0cfba8f8517..433258998fc0c11016ee14e000cd6c9a76dda9d3 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-01  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
+       from coordinates.
+
 Wed Oct 25 20:10:57 2000  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkevents.c (gdk_event_copy): Only ref the window if
index 8ac1d34ef96c9078b443d0cf375e78cfb05f0fd0..294eab906f072889093cbde332611552d0b84815 100644 (file)
@@ -586,7 +586,8 @@ gtk_image_expose (GtkWidget      *widget,
                                                    image_bound.y - y,
                                                    image_bound.x,
                                                    image_bound.y,
-                                                   image_bound.width, image_bound.height,
+                                                   image_bound.width,
+                                                   image_bound.height,
                                                    GDK_PIXBUF_ALPHA_FULL,
                                                    128,
                                                    GDK_RGB_DITHER_NORMAL,
@@ -601,9 +602,10 @@ gtk_image_expose (GtkWidget      *widget,
                                                        widget->window,
                                                        image_bound.x - x,
                                                        image_bound.y - y,
-                                                       image_bound.x - 4,
-                                                       image_bound.y - 4,
-                                                       image_bound.width, image_bound.height,
+                                                       image_bound.x,
+                                                       image_bound.y,
+                                                       image_bound.width,
+                                                       image_bound.height,
                                                        GDK_PIXBUF_ALPHA_FULL,
                                                        128,
                                                        GDK_RGB_DITHER_NORMAL,